.v-enter {
    opacity: 0;
    transform: translateX(100%)
}
  
.v-leave-to {
    opacity: 0;
    transform: translateX(-100%); /* 解决了导航切换 bug 2.*/
    position: absolute;    /* 解决了导航切换 bug.3 */
}
  
.v-enter-active,
.v-leave-active {
    transition:all 0.5s ease;
}